package com.jxk.springcloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.jxk.springcloud.entities.CommonResult;

/**
 * @ClassName : CustomerBlockHandler  //类名
 * @Description :   //描述
 * @Author : jxk  //作者
 * @Date: 2020-09-28 15:49  //时间
 */
public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(4444, "自定义限流处理信息....Global handlerException------1");

    }
    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(4444, "自定义限流处理信息....Global handlerException------2");

    }
}

